package com.qqtech.qquan.community.service;

import com.qqtech.core.frame.service.BaseService;
import com.qqtech.qquan.community.model.CommunityNotice;
import com.qqtech.qquan.community.model.CommunityNoticeVo;

public interface CommunityNoticeService extends BaseService<CommunityNotice> {
	/**
	 * pv+1
	 * 
	 * @param id
	 * @return
	 */
	int increasePv(Integer id);

	/**
	 * pv+1再获取详情
	 * 
	 * @param id
	 * @return
	 */
	CommunityNoticeVo handleDetail(Integer id);

	/**
	 * 隐藏
	 * 
	 * @param id
	 * @return
	 */
	int hide(Integer id);

	/**
	 * 显示
	 * 
	 * @param id
	 * @return
	 */
	int show(Integer id);
}